<?php

class Gallery extends EMongoDocument {

    public $hotel;
    public $title;
    public $description;
    public $tags;
    public $galleryItemOrder;
    public $published;
    public $url;

    public function attributeLabels() {
        return array(
            'hotel' => 'hotel',
            'description' => 'description',
            'galleryItemOrder' => 'galleryItemOrder',
            'title' => 'title',
            'published' => 'published',
            'url' => 'url',
        );
    }

    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function getCollectionName() {
        return 'galleries';
    }

}

?>